package vip.xiaonuo.auth.modular.wechat.service;

/**
 * @author zjt
 * @description
 * @since 2025/7/17 11:22
 */
public interface AuthWechatService {

    /**
     * 获取登录的Url
     *
     * @param state
     * @return
     */
    String getOAuthUrl(String state);

    /**
     * 检查登录状态
     *
     * @param state
     * @return
     */
    String checkScanStatus(String state);

    /**
     * 企业微信登录
     *
     * @param code
     * @param state
     * @return
     */
    void doLogin(String code, String state);
}
